<template>
    <p>this is main page {{ msg}}</p>
</template>
<script setup>
// const msg = ref($route.params.info);
import { useRoute } from 'vue-router';
import { ref } from 'vue';
const route = useRoute()
const msg = ref(route.params.info);
</script>
<style scoped></style>